home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / prefs / printerps.i < prev    next >
Text File  |  1993-10-15  |  3KB  |  149 lines

  1.     IFND    PREFS_PRINTERPS_I
  2. PREFS_PRINTERPS_I    SET    1
  3. **
  4. **    $VER: printerps.i 38.6 (6.5.93)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for PostScript printer preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. **
  12.  
  13. ;---------------------------------------------------------------------------
  14.  
  15.     IFND EXEC_TYPES_I
  16.     INCLUDE "exec/types.i"
  17.     ENDC
  18.  
  19. ;---------------------------------------------------------------------------
  20.  
  21. ID_POST equ "PSPD"
  22.  
  23.  
  24.    STRUCTURE PrinterPSPrefs,0
  25.     STRUCT ps_Reserved,4*4        ; System reserved
  26.  
  27.     ; Global printing attributes
  28.     UBYTE  ps_DriverMode
  29.     UBYTE  ps_PaperFormat
  30.     STRUCT ps_Reserved1,2
  31.     LONG   ps_Copies
  32.     LONG   ps_PaperWidth
  33.     LONG   ps_PaperHeight
  34.     LONG   ps_HorizontalDPI
  35.     LONG   ps_VerticalDPI
  36.  
  37.     ; Text Options
  38.     UBYTE  ps_Font;
  39.     UBYTE  ps_Pitch
  40.     UBYTE  ps_Orientation
  41.     UBYTE  ps_Tab
  42.     STRUCT ps_Reserved2,8
  43.  
  44.     ; Text Dimensions
  45.     LONG   ps_LeftMargin
  46.     LONG   ps_RightMargin
  47.     LONG   ps_TopMargin
  48.     LONG   ps_BottomMargin
  49.     LONG   ps_FontPointSize
  50.     LONG   ps_Leading
  51.     STRUCT ps_Reserved3,8
  52.  
  53.     ; Graphics Options
  54.     LONG   ps_LeftEdge
  55.     LONG   ps_TopEdge
  56.     LONG   ps_Width
  57.     LONG   ps_Height
  58.     UBYTE  ps_Image
  59.     UBYTE  ps_Shading
  60.     UBYTE  ps_Dithering
  61.     STRUCT ps_Reserved4,9
  62.  
  63.     UBYTE  ps_Aspect
  64.     UBYTE  ps_ScalingType
  65.     UBYTE  ps_Reversed5
  66.     UBYTE  ps_Centering
  67.     STRUCT ps_Reserved6,8
  68.    LABEL PrinterPSPrefs_SIZEOF
  69.  
  70. ; All measurements are in Millipoints which is 1/1000 of a point, or
  71. ; in other words 1/72000 of an inch
  72. ;
  73.  
  74. ; constants for PrinterPSPrefs.ps_DriverMode
  75. DM_POSTSCRIPT  equ 0
  76. DM_PASSTHROUGH equ 1
  77.  
  78. ; constants for PrinterPSPrefs.ps_PaperFormat
  79. PF_USLETTER equ 0
  80. PF_USLEGAL  equ 1
  81. PF_A4        equ 2
  82. PF_CUSTOM   equ 3
  83.  
  84. ; constants for PrinterPSPrefs.ps_Font
  85. FONT_COURIER      equ 0
  86. FONT_TIMES      equ 1
  87. FONT_HELVETICA      equ 2
  88. FONT_HELV_NARROW  equ 3
  89. FONT_AVANTGARDE   equ 4
  90. FONT_BOOKMAN      equ 5
  91. FONT_NEWCENT      equ 6
  92. FONT_PALATINO      equ 7
  93. FONT_ZAPFCHANCERY equ 8
  94.  
  95. ; constants for PrinterPSPrefs.ps_Pitch
  96. PITCH_NORMAL     equ 0
  97. PITCH_COMPRESSED equ 1
  98. PITCH_EXPANDED     equ 2
  99.  
  100. ; constants for PrinterPSPrefs.ps_Orientation
  101. ORIENT_PORTRAIT  equ 0
  102. ORIENT_LANDSCAPE equ 1
  103.  
  104. ; constants for PrinterPSPrefs.ps_Tab
  105. TAB_4      equ 0
  106. TAB_8      equ 1
  107. TAB_QUART equ 2
  108. TAB_HALF  equ 3
  109. TAB_INCH  equ 4
  110.  
  111. ; constants for PrinterPSPrefs.ps_Image
  112. IM_POSITIVE equ 0
  113. IM_NEGATIVE equ 1
  114.  
  115. ; constants for PrinterPSPrefs.ps_Shading
  116. SHAD_BW        equ 0
  117. SHAD_GREYSCALE equ 1
  118. SHAD_COLOR     equ 2
  119.  
  120. ; constants for PrinterPSPrefs.ps_Dithering
  121. DITH_DEFAULT equ 0
  122. DITH_DOTTY   equ 1
  123. DITH_VERT    equ 2
  124. DITH_HORIZ   equ 3
  125. DITH_DIAG    equ 4
  126.  
  127. ; constants for PrinterPSPrefs.ps_Aspect
  128. ASP_HORIZ equ 0
  129. ASP_VERT  equ 1
  130.  
  131. ; constants for PrinterPSPrefs.ps_ScalingType
  132. ST_ASPECT_ASIS      equ 0
  133. ST_ASPECT_WIDE      equ 1
  134. ST_ASPECT_TALL      equ 2
  135. ST_ASPECT_BOTH      equ 3
  136. ST_FITS_WIDE      equ 4
  137. ST_FITS_TALL      equ 5
  138. ST_FITS_BOTH      equ 6
  139.  
  140. ; constants for PrinterPSPrefs.ps_Centering
  141. CENT_NONE  equ 0
  142. CENT_HORIZ equ 1
  143. CENT_VERT  equ 2
  144. CENT_BOTH  equ 3
  145.  
  146. ;---------------------------------------------------------------------------
  147.  
  148.     ENDC    ; PREFS_PRINTERPS_I
  149.